import Vue from 'vue'
import Router from 'vue-router'
import pay from '@/components/pay'
import Info from '@/components/info'
import Tips from '@/components/tips'
import join from '@/components/join'
import Find from '@/components/404.vue'
import Center from '@/components/center.vue'
import success from '@/components/success.vue'
import record from '@/components/record.vue'
import team from '@/components/team.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'pay',
      component: pay
    },
     {
      path: '/404',
      name: '404',
      component: Find
    },
    {
      path: '/info',
      name: 'info',
      component: Info
    },
    {
      path: '/tips',
      name: 'tips',
      component: Tips
    },
    {
      path: '/center',
      name: 'center',
      component: Center
    },
    {
      path: '/join/',
      name: 'join',
      component: join
    },
    {
      path: '/success/',
      name: 'success',
      component: success
    },
    {
      path: "/record/",
      name: "record",
      component: record
    },
    {
      path: "/team/",
      name: "team",
      component: team
    }
  ]
})
